package com.gin.kotlin.no_gay_alliance.base;

import android.graphics.Rect;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

/**
 * 简单分割
 *
 * @author : ginstone
 * @version : v1.0.0
 * @since : 2023/8/30 14:50
 **/
public class SimpleItemDecoration extends RecyclerView.ItemDecoration {
    @Override
    public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) {
        outRect.top = 10;
    }
}
